package zj.xinxin.common.core.vo.system;

import lombok.Data;

import java.util.List;

/**
 * 对象描述信息类
 */
@Data
public class DocVO {

    private List<FieldVO> fieldVOList;

    public DocVO(List<FieldVO> fieldVOList) {
        this.fieldVOList = fieldVOList;
    }

    @Data
    public static class FieldVO {
        /**
         * 属性名称
         */
        private String fieldName;

        /**
         * 属性类型
         */
        private String fieldType;

        /**
         * 属性注释
         */
        private String describe;

        public FieldVO() {
        }

        public FieldVO(String fieldName, String fieldType, String describe) {
            this.fieldName = fieldName;
            this.fieldType = fieldType;
            this.describe = describe;
        }
    }
}

